package com.zy.explore.license.interfaces.frm;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * description 登录Frm
 *
 * @author 🇨🇳中国印🇨🇳
 * @date 2021年07月06日 22:58
 */
@Api("登录Frm")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class LoginFrm {

    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名", required = true, example = "admin")
    @NotBlank(message = "用户名不能为空")
    private String username;

    /**
     * 密码
     */
    @ApiModelProperty(value = "密码", required = true, example = "123456")
    @NotBlank(message = "密码不能为空")
    private String password;
}
